Ansible Playbook – Install Docker on CentOS 7

The following example was taken as a Playbook. This Playbook runs on the “docker” host group, installs the necessary packages for Docker, adds the Docker repository, installs Docker, launches it and adds it to autorun. Also adds the user “artem” to the group “docker“   docker.yaml   Apply Playbook: